﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Welcome to TwitterMatic!
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <%
        if (Request.IsAuthenticated) {
    %>
        <h3>Welcome back to Twitter<i>Matic</i>, <%= Html.Encode(Page.User.Identity.Name) %>!</h3>
        <div class="colmask">
	        <div class="colmid">
	            <p>
	                Twitter<i>Matic</i> is a cloud-hosted application that can help in scheduling <a href="http://twitter.com">Twitter</a> updates.
                </p>

                <h4>Some useful links for you</h4>
                <ul>
                    <li><%= Html.ActionLink("Schedule a Tweet", "Create", "Tweet")%></li>
                    <li><%= Html.ActionLink("My Tweets", "Index", "Tweet")%></li>
                    <li><%= Html.ActionLink("Archived Tweets", "Archived", "Tweet")%></li>
                </ul>
                
                <h4>Some usage scenarios...</h4>
                <ul>
                    <li>Inform your followers about interesting links at certain times of day</li>
                    <li>Stay present on Twitter during your vacation</li>
                    <li>Maintain presence in your activity stream, even when you are not available</li>
                    <li>Never forget a fellow Twitterer's birthday: schedule it!</li>
                    <li>Trick your boss: of course you are Tweeting you're leaving the office at 8 PM!</li>
                </ul>
            </div>
        </div>

        <p style="clear: both;">&nbsp;</p>
    <%
        }
        else {
    %> 
        <h3>Welcome to Twitter<i>Matic</i>!</h3>
        <div class="colmask">
	        <div class="colmid">
                <p>
                    Twitter<i>Matic</i> is a cloud-hosted application that can help in scheduling <a href="http://twitter.com">Twitter</a> updates.
                </p>

                <h4>Why schedule Twitter updates?</h4>
                <p>
                    More and more Internet Professionals are using Twitter as their micro blog.
                    Using Twtter<i>Matic</i>, these people can automate status updates to gain more
                    visibility in their Twitter activity stream.
                </p>
                
                <h4>Some usage scenarios...</h4>
                <ul>
                    <li>Inform your followers about interesting links at certain times of day</li>
                    <li>Stay present on Twitter during your vacation</li>
                    <li>Maintain presence in your activity stream, even when you are not available</li>
                    <li>Never forget a fellow Twitterer's birthday: schedule it!</li>
                    <li>Trick your boss: of course you are Tweeting you're leaving the office at 8 PM!</li>
                </ul>
            </div>
        </div>
        <div class="buttons" style="text-align: center;">
            <a class="btnStretch first" href="/Account/Login"><span><strong>Get started now!</strong></span></a>
        </div>
        <p style="clear: both;">&nbsp;</p>
    <%
        }
    %>
</asp:Content>
